package com.car.mapper;

import com.car.entity.CellPack;
import com.car.entity.CellPackExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CellPackMapper {
    long countByExample(CellPackExample example);

    int deleteByExample(CellPackExample example);

    int deleteByPrimaryKey(String id);

    int insert(CellPack record);

    int insertSelective(CellPack record);

    List<CellPack> selectByExample(CellPackExample example);

    CellPack selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CellPack record, @Param("example") CellPackExample example);

    int updateByExample(@Param("record") CellPack record, @Param("example") CellPackExample example);

    int updateByPrimaryKeySelective(CellPack record);

    int updateByPrimaryKey(CellPack record);
    ///查询未配电的电池
    List<CellPack> findWCell(String state);
}